﻿using LogService;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ICO2
{
    public static class LogExpand
    {
        /// <summary>
        /// 拓展方法，添加日志服务组件
        /// </summary>
        /// <param name="services"></param>
        public static void AddLogService(this IServiceCollection services)
        {
            services.AddScoped<ILogService, ConsoleLogImp>();
        }
    }
}
